package com.pan.admin.quartz.entity;

import com.pan.admin.common.annotation.Excel;
import com.pan.admin.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 甲方机构分配，执行记录对象 loan_jf_execute_record
 *
 * @author ts
 * @date 2023-11-17
 */
public class LoanJfExecuteRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 机构id
     */
    @Excel(name = "机构id")
    private Integer loanProductId;

    /**
     * 最后执行人用户(客服)id
     */
    @Excel(name = "最后执行人用户(客服)id")
    private Integer lastUserId;

    /**
     * 最后一个分配用户
     */
    private Integer lastLoanUserId;

    /**
     * 执行状态
     */
    @Excel(name = "执行状态")
    private Integer executeStatus;


    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setLoanProductId(Integer loanProductId) {
        this.loanProductId = loanProductId;
    }

    public Integer getLoanProductId() {
        return loanProductId;
    }

    public void setLastUserId(Integer lastUserId) {
        this.lastUserId = lastUserId;
    }

    public Integer getLastUserId() {
        return lastUserId;
    }

    public void setExecuteStatus(Integer executeStatus) {
        this.executeStatus = executeStatus;
    }

    public Integer getExecuteStatus() {
        return executeStatus;
    }

    public Integer getLastLoanUserId() {
        return lastLoanUserId;
    }

    public void setLastLoanUserId(Integer lastLoanUserId) {
        this.lastLoanUserId = lastLoanUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("loanProductId", getLoanProductId())
                .append("lastUserId", getLastUserId())
                .append("lastLoanUserId", getLastLoanUserId())
                .append("executeStatus", getExecuteStatus())
                .append("createTime", getCreateTime())
                .toString();
    }
}